import BaseView from "../base/view/BaseView";
import BaseLangManager from "./BaseLangManager";
const { ccclass, property } = cc._decorator;

@ccclass
export default abstract class LangView extends BaseView {

    protected manager:BaseLangManager

    protected langID:string = "";

    protected opt:any = null;

    setValue(manager:BaseLangManager, langID:string,opt?:any){
        this.manager = manager;
        this.langID = langID;
        this.opt = opt;
        this.updateValue();
    }

    abstract updateValue():void;
}
